package com.lean.android.ad.core.splash

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.lean.android.ad.core.AdSdk
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.stateIn

class SplashAdViewModel : ViewModel() {

    val adInitState = AdSdk.adInitState.stateIn(
        viewModelScope, SharingStarted.WhileSubscribed(5000), AdSdk.AdInitState.Idle
    )

    var currentSplashAdCount = 0 //从0 开始

}